<template>
  <view>
    我是爹

    <button @click="fn()">我你爹</button>
  </view>

  <son v-model:count="count"></son>
</template>

<script setup lang="ts">
  import son from '../../../components/Son/index.vue'

  const fn = () => {
    console.log('我是你爹')
    count.value = count.value + 1
  }

  const timer = setInterval(() => {
    count.value++
  }, 1000)

  import { ref } from 'vue'

  const count = ref(20)

  // npm run dev:h5
</script>

<style scoped></style>
